package org.summerframework.component.security.events;

import org.summerframework.core.base.service.BaseService;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @author 石超
 * @version v1.0.0
 */
@Getter
@Setter
public class AbstractChangeEvent extends ApplicationEvent {
    private BaseService.BASE_OP type;
    private Long id;

    public AbstractChangeEvent(BaseService.BASE_OP type, Long id) {
        super(type);
        this.type = type;
        this.id = id;
    }
}
